package com.wsoft.hr.pm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * <p>
 * 模版指标表
 * </p>
 *
 * @author Z001
 * @since 2025年02月24日 18:26:33
 */
@Getter
@Setter
@TableName("hr_pm_template_target")
@Schema(name = "HrPmTemplateTargetEntity", description = "模版指标表")
public class HrPmTemplateTargetEntity extends BaseEntity {

    @Schema(description = "维度id")
    @TableField("scope_id")
    private Long scopeId;

    @Schema(description = "模版指标历史")
    @TableField("template_target_his_id")
    private Long templateTargetHisId;

    @Schema(description = "权重")
    @TableField("weight")
    private BigDecimal weight;

    @Schema(description = "目标值")
    @TableField("purpose_value")
    private BigDecimal purposeValue;

    @Schema(description = "排序")
    @TableField("sort")
    private Integer sort;
}
